package com.share.config.email.template;

import lombok.Data;

/**
 * 新建用户,邮件内容模板
 */
@Data
public class NewUserTempleate extends AbstractTempleate {
    private String username;
    private String password;

    @Override
    public String getTemplate() {
        return "<!DOCTYPE html>\n" +
                "<html lang=\"en\">\n" +
                "<head>\n" +
                "    <meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\">\n" +
                "    <title>京发数据征信管理平台-创建用户</title></meta></head>\n" +
                "<body>\n" +
                "<div>尊敬的用户，您好：</div>\n" +
                "<div style=\"text-indent: 2em;\">您的密码为: {password} </div>\n" +
                "<div style=\"text-indent: 2em;\">请尽快登录之后修改密码! </div>\n" +
                "<div>***这是一封自动产生的邮件，请勿回复***</div>\n" +
                "</body>\n" +
                "</html>";
    }
}
